import 'package:flutter_blue_plus/flutter_blue_plus.dart';

class HandlerBluetoothDevice {
  // 蓝牙设备
  BluetoothDevice? device;

  // 写服务
  BluetoothService? bluetoothWriteService;

  // 通知服务
  BluetoothService? bluetoothNotifyService;

  // 写特征
  BluetoothCharacteristic? bluetoothWriteCharacteristic;

  // 通知特征
  BluetoothCharacteristic? bluetoothNotifyCharacteristic;

  // 通知数据流
  Stream<List<int>>? notifyStream;

  HandlerBluetoothDevice({
    this.bluetoothWriteService,
    this.bluetoothNotifyService,
    this.bluetoothWriteCharacteristic,
    this.bluetoothNotifyCharacteristic,
    this.notifyStream,
    this.device,
  });
}
